package db;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

public class AndoridDemo {
	public static ResultSet getAll(){
		try {
			Connection conn = DBUtilWithPool.getConnection();
			Statement state = conn.createStatement();
			String sql = "SELECT * FROM tb_checi";
			ResultSet rs = state.executeQuery(sql);
			return rs;
		} catch (SQLException e) {
			e.printStackTrace();
			return null;
		}
		
		
	}
}
